Chris Pollett > Old Classes >
CS185c

( Print View )

Grades: [Sec2]

Submit: [Sec2]

Course Info:
  [Texts & Links]
  [Topics]
  [Grading]
  [HW Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Announcements]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]

Practice Exams:
  [Mid1]  [Mid2]  [Final]

                            












HW#2 --- last modified January 01 1970 00:00:00..

Solution set.

Due date: Oct 7

Files to be submitted:
  Hw2.zip

Purpose: To gain experience creating .rcp files and the different resource types as well as writing Makefile's and a simple app.

Specification:

The file Hw2.zip will contain all the source and resource files so that if I type:

make

From the command prompt your .prc file will be produced. The goal of this project is to make an app for displaying a bitmap that is larger that one Palm screen. You should create nine bitmaps for this homework such that when you lay out the bitmaps as:

1 2 3
4 5 6
7 8 9

They would form one large image. Your program will have use nine forms such that one bitmap together with four buttons labelled West, North, South, East can all appear on the screen on one form. Initially, the form with bitmap 5 is displayed. If the user clicks a direction on a given form then the form adjacent to the current form in the direction he clicks become the active form and is displayed. For example if the form with bitmap 8 on it active and North is clicked the form with 5 is displayed. If the user goes off the "world" (for instance, click west on the form with 4), then an Alert should appear saying: You can't go <name of direction> from this screen.

In addition to the above, make sure app has its own icon for the launcher and has a about menu item with version info.

Point Breakdown

Departmental coding guidelines for C++ followed1pt
Project compiles correctly from Makefile1pt
Nine bitmaps all there and make one image 1pt
Initial form shows up with bitmap 5 and buttons2pt
Navigation works as described. 2pt
Alerts appear as described. 2pt
Launcher icon and version info as described1pt
Total10pts